package com.bluefoxyu.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 课程信息表
 * </p>
 *
 * @author bluefoxyu
 * @since 2024-06-16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CourseVO implements Serializable {

    @Schema(description = "课程号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "课程名称")
    private String name;

    @Schema(description = "学分数")
    private BigDecimal credits;

    @Schema(description = "任课教师工号")
    private Integer teacherId;

    @Schema(description = "教师姓名")
    private String teacherName;

    @Schema(description = "教师职称")
    private String teacherJobTitle;


}
